{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
 <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="POST">	
                <div class="box-header with-border">
                    <span class="fa fa-search" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">统计查询</p>
                    <a href="index.php?a=studentcount.outdata" target="_blank" class="btn btn-warning btn-sm" style="float:right;">导出</a>
                </div>
                    <div class="box-body">
                        <div class="col-md-4 form-group">
                              <label for="inputPassword3" class="col-sm-2 control-label" style="padding-right:0; padding-left:0; font-weight:500;">
                                   姓名：
                              </label>
                              <div class="input-group col-md-9 col-xs-12">
                                   <input type="text" class="form-control" name="student_name" >
                              </div> 
				       </div>
					 <div class="col-md-4 form-group">
                              <label for="inputPassword3" class="col-sm-2 control-label" style="padding-right:0; padding-left:0; font-weight:500;">
                                   学号：
                              </label>
                              <div class="input-group col-md-9 col-xs-12">
                                   <input type="text" class="form-control" name="student_no" >
                              </div> 
				       </div>
                        <div class="col-md-1 col-xs-12">
                             <button type="submit" class="btn btn-primary">查 询</button>
                        </div>
                        <div style="clear:both; height:2px;"></div>
                        <p>符合条件人数<span>{%$tmp.count%}</span> 人</p>
                        <table class="table table-bordered table-striped" id="mytable">
                            <thead>   
                             <tr style="background-color:#5fb2dc;">
							    <td>姓名</td>
								<td>性别</td>
								<td>出生日期</td>
								<td>身份证号</td>
								<td>民族</td>
								<td>户口性质</td>
								<td>联系方式</td>
								<td>学区</td>
								<td>学号</td>
								<td>全国学籍号</td>
								<td>学籍变动</td>
								<td>就读方式</td>
								<td>残疾类型</td>
                                <!--<td width="60">操作</td>-->
							 </tr>
                           </thead>
							 {%foreach from=$studentcount_lists key=key item=value%}
                             <tr>
							    <td>{%$value.student_name%}</td>
								{%if $value.student_sex == 1%}
								<td>男</td>
								{%else $value.student_sex == 2%}
								<td>女</td>
								{%/if%}
								<td>{%$value.student_birth%}</td>
								<td>{%$value.student_card%}</td>
								<td>{%$value.student_nation%}</td>
								{%if $value.student_registered == 1%}
								<td>农村</td>
								{%else $value.student_registered == 2%}
								<td>城市</td>
								{%/if%}
								<td>{%$value.student_tel%}</td>
								<td>{%$value.student_source%}</td>
								<td>{%$value.student_no%}</td>
								<td>{%$value.student_school%}</td>
								<td>{%$value.student_variation%}</td>
								<td>{%$value.student_mode%}</td>
								 <td>{%$value.student_disability%}</td>
                            <!-- <td><a href=" " class="btn btn-warning btn-sm" target="_blank" title="导出"><i class="fa fa-external-link"></i></a>
                                </td>-->
							 </tr>
                           {%/foreach%}  
						 </table>
				    </div><!--box-body -->
					<div class="box-footer" style="border-top:0px;">
					{%$page%}
					</div>
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
